home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
fglqbx10.zip
/
03-07.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-06-05
|
381b
|
26 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
OldMode = FGgetmode
NewMode = FGbestmode(320,200,1)
IF NewMode < 0 THEN
PRINT "This program requires a 320 by 200 graphics mode."
STOP
END IF
FGsetmode NewMode
FGsetcolor 15
FGtext "I'm running in mode", 19
FGtext STR$(NewMode), LEN(STR$(NewMode))
FGtext ".", 1
FGwaitkey
FGsetmode OldMode
FGreset
END